@import "./configuration.scss";

.hlthContainer {
    min-height: 100vh;
    padding: 0.23rem 0.23rem 0;
    box-sizing: border-box;
    background-color: #F6F7F9;
    font-family: "MiSans-Medium";
    font-weight: 500;
    font-size: 0.31rem;
    color: #000000;
}
.hlthInfoBox {
    width: 100%;
    padding-top: 0.08rem;
    padding-bottom: 0.08rem;
    background: #FFFFFF;
    border-radius: 0.34rem;
}
.hlthUsername {
    width: 100%;
    height: 1.15rem;
    padding-left: 0.27rem;
    padding-right: 0.19rem;
    box-sizing: border-box;
    @include flex(row, space-between, center);
}
.hlthNameLeft {
    padding-left: 0.17rem;
    position: relative;
}
.hlthNameUnit {
    width: 0.11rem;
    height: 0.11rem;
    position: absolute;
    left: 0.02rem;
    top: 0.1rem;
}
.hlthNameRight {
    padding-right: 0.08rem;
}

.hlthGenderRight {
    width: 5rem;
    @include flex(row, flex-end, center);
}
.hlthGenderIcon {
    width: 0.54rem;
    height: 0.54rem;
}
.hlthGenderTxt {
    font-family: "MiSans-Regular";
    font-weight: 400;
    font-size: 0.27rem;
    color: rgba(0, 0, 0, 0.35);
    line-height: 0.27rem;
}
.hlthHistoryBox {
    width: 100%;
    padding: 0.23rem;
    background-color: #FFFFFF;
    border-radius: 0.34rem;
    box-sizing: border-box;
    margin-top: 0.23rem;
}
.hlthDiseaseTit {
    font-family: "MiSans-Demibold";
    font-size: 0.33rem;
    font-weight: bold;
    padding-left: 0.04rem;
    margin-bottom: 0.27rem;
}

.hlthDiseaseUl {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.hlthDiseaseLi {
    font-size: 0.25rem;
    padding: 0.17rem 0.27rem;
    background-color: #F8F9FA;
    border-radius: 0.96rem;
    display: inline-block;
    margin-bottom: 0.34rem;
    color: rgba(0, 0, 0, 0.7);
    margin-right: 0.34rem;
   
}
.hlthDiseaseTxt {
    width: 100%;
    height: 1.38rem;
    background: rgba(246,247,249,0.8);
    border-radius: 0.27rem;
    padding-top: 0.04rem;
    .adm-text-area-element {
        font-family: "MiSans-Regular";
        line-height: 0.34rem;
    }
}
.hlthDiseaseBox {
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.hlthAllergy {
    margin-top: 0.7rem;
}
.hlthhabitBox {
    padding-bottom: 0;
    border-bottom: none;
}
.hlthSaveBox {
    width: 100%;
    padding: 0.88rem 0.54rem;
    box-sizing: border-box;
    // position: fixed;
    // left: 0;
    // bottom: 0.61rem;
    padding-bottom: calc(constant(safe-area-inset-bottom) + 0.6rem);
    padding-bottom: calc(env(safe-area-inset-bottom) + 0.6rem);
}
.hlthSaveBtn {
    height: 0.96rem;
    background: rgba(0,0,0,0.06);
    border-radius: 0.31rem;
    @include flex(row, center, center);
    font-size: 0.33rem;
    color: rgba(0, 0, 0, 0.80);
}
.hlthWineBox {
    margin-top: 0.23rem;
}

.hlthGenderModel {
    width: 100%;
    padding: 0 0.23rem 0.23rem;
    box-sizing: border-box;
    background-color: transparent;
    font-family: "MiSans-Medium";
    font-weight: 500;
    color: #000000;
}
.hlthGenderBox {
    height: 5.6rem;
    background-color: #FFFFFF;
    border-radius: 0.54rem;
    padding-top: 0.46rem;
    box-sizing: border-box;
    position: relative;
}
.hlthGenderTit {
    font-size: 0.34rem;
    text-align: center;
    
}

.popGender {
    margin-top: 0.82rem;
}

.hlthGenderFoot {
    width: 100%;
    padding: 0 0.46rem;
    position: absolute;
    bottom: 0.54rem;
    left: 0;
    box-sizing: border-box;
    @include flex(row, space-between, center);
}
.hlthGenderCancel {
    width: 2.9rem;
    height: 0.96rem;
    background: rgba(0,0,0,0.06);
    border-radius: 0.31rem;
    font-size: 0.33rem;
    font-family: "MiSans-Medium";
    color: rgba(0, 0, 0, 0.80);
    font-weight: 500;
    @include flex(row, center, center);
}
.hlthGenderConfirm {
    background-color: #FF612E;
    color: #FFFFFF;
}
.hlthDateBox {
    height: 5.85rem;
}
.hlthStatureBox {
    height: 6.58rem;
}
.popStature {
    margin-top: 0.48rem;
}
.popSmoke {
    margin-top: 0;
}
.hlthSmokeUl {
    width: 100%;
    margin-top: 0.82rem;
    @include flex(row, space-between, center);
}
.hlthSmokeLi {
    flex: 1;
    font-family: "MiSans-Regular";
    font-weight: 400;
    color: rgba(0, 0, 0, 0.60);
    font-size: 0.31rem;
    text-align: center;
}

.popHidden {
    display: none !important;
}
.hlthDiseaseLiCur {
    background-color: rgba(255, 97, 46, 0.12);
    color: rgba(255, 97, 46, 1);
}
.hlthSaveBtnCur {
    background-color: #FF612E;
    color: #FFFFFF;
}
.hlthDiseaseArea {
    --placeholder-color: rgba(0, 0, 0, 0.35);
    --color: #000000;
    --font-size: 0.3rem;
    .adm-text-area-count {
        padding-top: 0;
        padding-right: 0.23rem;
        font-size: 0.23rem;
        font-family: "MiSans-Regular";
        font-weight: 400;
        color: rgba(0, 0, 0, 0.35);
    }
}